package com.ebt.m.proposal_v2.base;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import butterknife.ButterKnife;

/**
 * @author archer.qi
 *         Created on 2017/5/23.
 */
public class CompatRecyclerViewHolder extends RecyclerView.ViewHolder {

    public CompatRecyclerViewHolder(View itemView) {
        super(itemView);
        if (itemView != null) {
            ButterKnife.bind(this, itemView);
        }
    }

    public View v(int id) {
        return itemView.findViewById(id);
    }
}
